﻿using System.Collections.Generic;

namespace InDepth2Demo.Model
{
    internal class Salary
    {
        public int id { get; set; }
        public int user_id { get; set; }
        public string name { get; set; }
        public double salary { get; set; }
        public bool active { get; set; }
        public string occupation { get; set; } //职业

        public List<Salary> GetSalaryList()
        {
            return new List<Salary>()
            {
                new Salary { id = 1,  user_id = 1, name = "Zhang Long", salary = 7800, active = true, occupation = "Teacher"},
                new Salary { id = 2,  user_id = 2, name = "Zhang Jin", salary = 1500, active = true, occupation = "Student"},
                new Salary { id = 3,  user_id = 3, name = "Zhang Shuai", salary = 8800, active = false, occupation = "Teacher"},
                new Salary { id = 4,  user_id = 4, name = "Liu Guangzhi", salary = 12800, active = true, occupation = "Doctor"},
                new Salary { id = 5,  user_id = 5, name = "Liu Ziming", salary = 13600, active = true, occupation = "Doctor"},
                new Salary { id = 6,  user_id = 6, name = "Liu Shuai", salary = 29000, active = false, occupation = "Doctor"},
                new Salary { id = 7,  user_id = 7, name = "Liu Jin", salary = 7000, active = true, occupation = "Builder"},
                new Salary { id = 8,  user_id = 8, name = "Jiang Long", salary = 8500, active = false, occupation = "Builder"},
                new Salary { id = 9,  user_id = 9, name = "Hu Ziming", salary = 2100, active = true, occupation = "Student"},
                new Salary { id = 10,  user_id = 10, name = "Hu Jin", salary = 1300, active = true, occupation = "Student"}
            };
        }
    }
}
